Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add switches tab to system inventory #2620

Merged
merged 5 commits into from
Dec 13, 2024
Merged

Add switches tab to system inventory #2620

merged 5 commits into from
Dec 13, 2024

Conversation

charliepark
Copy link
Contributor

This adds a tab to the inventory page, showing switches.

Screenshot 2024-12-12 at 10 31 07 AM

Closes #2556

@charliepark charliepark added this to the 13 milestone Dec 12, 2024
@charliepark charliepark self-assigned this Dec 12, 2024
Copy link

vercel bot commented Dec 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
console ✅ Ready (Inspect) Visit Preview Dec 12, 2024 10:32pm

colHelper.accessor('rackId', { header: 'Rack ID' }),
colHelper.accessor('baseboard.part', { header: 'part number' }),
colHelper.accessor('baseboard.serial', { header: 'serial number' }),
colHelper.accessor('baseboard.revision', { header: 'revision' }),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this is useful here, it's probably useful on the other tabs. Worth asking someone.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do have PART NUMBER / SERIAL NUMBER / REVISION columns on Sleds, but, in looking at it, there are a few columns available in the Sled type that we aren't using (usableHardwareThreads, usablePhysicalRam). I'll check in with rm in a second on what of those would be useful to add.
The PhysicalDisk type doesn't seem to have similar data to draw from.

@charliepark charliepark removed this from the 13 milestone Dec 12, 2024
@benjaminleonard
Copy link
Contributor

Wish we had some identifiers that were a little more human-friendly here. But not something we can solve at the console-level right?

@david-crespo
Copy link
Collaborator

Yeah, not really anything we can do.

@david-crespo david-crespo merged commit 11486f8 into main Dec 13, 2024
8 checks passed
@david-crespo david-crespo deleted the add-switches-tab branch December 13, 2024 17:35
david-crespo added a commit to oxidecomputer/omicron that referenced this pull request Dec 13, 2024
oxidecomputer/console@927c8b6...c1ebd8d

* [c1ebd8d9](oxidecomputer/console@c1ebd8d9) take inventory switches tab back out, DB is empty
* [2a139028](oxidecomputer/console@2a139028) tone down empty switches table message
* [2b0c3f12](oxidecomputer/console@2b0c3f12) oxidecomputer/console#2621
* [c1fbf631](oxidecomputer/console@c1fbf631) oxidecomputer/console#2622
* [1dd25f63](oxidecomputer/console@1dd25f63) oxidecomputer/console#2615
* [11486f8b](oxidecomputer/console@11486f8b) oxidecomputer/console#2620
* [ada302ce](oxidecomputer/console@ada302ce) oxidecomputer/console#2488
* [bc3161ae](oxidecomputer/console@bc3161ae) minor: remove stub e2e test
* [9e1d53c6](oxidecomputer/console@9e1d53c6) sentence case idp form heading
* [aaf1154f](oxidecomputer/console@aaf1154f) add extra assert for instance create with additional disks test flake
* [79d610dc](oxidecomputer/console@79d610dc) oxidecomputer/console#2618
* [bdbc02b7](oxidecomputer/console@bdbc02b7) oxidecomputer/console#2589
* [7a8ee0ab](oxidecomputer/console@7a8ee0ab) oxidecomputer/console#2614
* [0b5220a1](oxidecomputer/console@0b5220a1) npm audit fix
* [0c873cf4](oxidecomputer/console@0c873cf4) oxidecomputer/console#2610
* [d031c8ff](oxidecomputer/console@d031c8ff) bump playwright for navigation hang fix
* [dbd8545e](oxidecomputer/console@dbd8545e) oxidecomputer/console#2609
* [dc5562fe](oxidecomputer/console@dc5562fe) move error log to avoid failing to log certain errors
david-crespo added a commit to oxidecomputer/omicron that referenced this pull request Dec 14, 2024
oxidecomputer/console@927c8b6...c1ebd8d

* [c1ebd8d9](oxidecomputer/console@c1ebd8d9)
take inventory switches tab back out, DB is empty
* [2a139028](oxidecomputer/console@2a139028)
tone down empty switches table message
* [2b0c3f12](oxidecomputer/console@2b0c3f12)
oxidecomputer/console#2621
* [c1fbf631](oxidecomputer/console@c1fbf631)
oxidecomputer/console#2622
* [1dd25f63](oxidecomputer/console@1dd25f63)
oxidecomputer/console#2615
* [11486f8b](oxidecomputer/console@11486f8b)
oxidecomputer/console#2620
* [ada302ce](oxidecomputer/console@ada302ce)
oxidecomputer/console#2488
* [bc3161ae](oxidecomputer/console@bc3161ae)
minor: remove stub e2e test
* [9e1d53c6](oxidecomputer/console@9e1d53c6)
sentence case idp form heading
* [aaf1154f](oxidecomputer/console@aaf1154f)
add extra assert for instance create with additional disks test flake
* [79d610dc](oxidecomputer/console@79d610dc)
oxidecomputer/console#2618
* [bdbc02b7](oxidecomputer/console@bdbc02b7)
oxidecomputer/console#2589
* [7a8ee0ab](oxidecomputer/console@7a8ee0ab)
oxidecomputer/console#2614
* [0b5220a1](oxidecomputer/console@0b5220a1)
npm audit fix
* [0c873cf4](oxidecomputer/console@0c873cf4)
oxidecomputer/console#2610
* [d031c8ff](oxidecomputer/console@d031c8ff)
bump playwright for navigation hang fix
* [dbd8545e](oxidecomputer/console@dbd8545e)
oxidecomputer/console#2609
* [dc5562fe](oxidecomputer/console@dc5562fe)
move error log to avoid failing to log certain errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add switches tab to inventory page
3 participants